package com.corpcredit.model;

// Generated Jul 22, 2008 11:56:54 PM by Hibernate Tools 3.2.0.CR1

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import javax.persistence.Version;

/**
 * CwzbSmlt generated by hbm2java
 */
@Entity
@Table(name = "cwzb_smlt")
public class CwzbSmlt implements java.io.Serializable
{

    private Long id;
    private int version;
    private Jbqk jbqk;
    private String username;
    private String operation;
    private Date optdate;
    private long ny;
    private BigDecimal jzcsyl;
    private BigDecimal mlrl;
    private BigDecimal yylrl;
    private BigDecimal zzcbcl;
    private BigDecimal xssrzzl;
    private BigDecimal jlrzzl;
    private BigDecimal jzczzl;
    private BigDecimal zcfzl;
    private BigDecimal zbgdhbl;
    private BigDecimal ldbl;
    private BigDecimal sdbl;
    private BigDecimal lxbzbs;
    private BigDecimal xjjllyldfzbl;
    private BigDecimal dbbl;
    private BigDecimal zysrxjl;
    private BigDecimal chzzq;
    private BigDecimal yszkzzl;
    private BigDecimal zzczzl;
    private BigDecimal spxsl;
    private BigDecimal yyzs;

    public CwzbSmlt()
    {
    }

    public CwzbSmlt( Long id, long ny )
    {
        this.id = id;
        this.ny = ny;
    }

    public CwzbSmlt( Long id,
                     Jbqk jbqk,
                     String username,
                     String operation,
                     Date optdate,
                     long ny,
                     BigDecimal jzcsyl,
                     BigDecimal mlrl,
                     BigDecimal yylrl,
                     BigDecimal zzcbcl,
                     BigDecimal xssrzzl,
                     BigDecimal jlrzzl,
                     BigDecimal jzczzl,
                     BigDecimal zcfzl,
                     BigDecimal zbgdhbl,
                     BigDecimal ldbl,
                     BigDecimal sdbl,
                     BigDecimal lxbzbs,
                     BigDecimal xjjllyldfzbl,
                     BigDecimal dbbl,
                     BigDecimal zysrxjl,
                     BigDecimal chzzq,
                     BigDecimal yszkzzl,
                     BigDecimal zzczzl,
                     BigDecimal spxsl,
                     BigDecimal yyzs )
    {
        this.id = id;
        this.jbqk = jbqk;
        this.username = username;
        this.operation = operation;
        this.optdate = optdate;
        this.ny = ny;
        this.jzcsyl = jzcsyl;
        this.mlrl = mlrl;
        this.yylrl = yylrl;
        this.zzcbcl = zzcbcl;
        this.xssrzzl = xssrzzl;
        this.jlrzzl = jlrzzl;
        this.jzczzl = jzczzl;
        this.zcfzl = zcfzl;
        this.zbgdhbl = zbgdhbl;
        this.ldbl = ldbl;
        this.sdbl = sdbl;
        this.lxbzbs = lxbzbs;
        this.xjjllyldfzbl = xjjllyldfzbl;
        this.dbbl = dbbl;
        this.zysrxjl = zysrxjl;
        this.chzzq = chzzq;
        this.yszkzzl = yszkzzl;
        this.zzczzl = zzczzl;
        this.spxsl = spxsl;
        this.yyzs = yyzs;
    }

    @Id
    @Column(name = "ID", unique = true, nullable = false)
    @GeneratedValue(strategy=GenerationType.AUTO)
    public Long getId()
    {
        return this.id;
    }

    public void setId( Long id )
    {
        this.id = id;
    }

    @Version
    @Column(name = "version", nullable = false)
    public int getVersion()
    {
        return this.version;
    }

    public void setVersion( int version )
    {
        this.version = version;
    }

    @ManyToOne(fetch = FetchType.LAZY)
    @JoinColumn(name = "jbq_ID")
    public Jbqk getJbqk()
    {
        return this.jbqk;
    }

    public void setJbqk( Jbqk jbqk )
    {
        this.jbqk = jbqk;
    }

    @Column(name = "username", length = 50)
    public String getUsername()
    {
        return this.username;
    }

    public void setUsername( String username )
    {
        this.username = username;
    }

    @Column(name = "operation", length = 20)
    public String getOperation()
    {
        return this.operation;
    }

    public void setOperation( String operation )
    {
        this.operation = operation;
    }

    @Temporal(TemporalType.TIMESTAMP)
    @Column(name = "optdate", length = 23)
    public Date getOptdate()
    {
        return this.optdate;
    }

    public void setOptdate( Date optdate )
    {
        this.optdate = optdate;
    }

    @Column(name = "ny", nullable = false)
    public long getNy()
    {
        return this.ny;
    }

    public void setNy( long ny )
    {
        this.ny = ny;
    }

    @Column(name = "jzcsyl", precision = 18, scale = 4)
    public BigDecimal getJzcsyl()
    {
        return this.jzcsyl;
    }

    public void setJzcsyl( BigDecimal jzcsyl )
    {
        this.jzcsyl = jzcsyl;
    }

    @Column(name = "mlrl", precision = 18)
    public BigDecimal getMlrl()
    {
        return this.mlrl;
    }

    public void setMlrl( BigDecimal mlrl )
    {
        this.mlrl = mlrl;
    }

    @Column(name = "yylrl", precision = 18, scale = 4)
    public BigDecimal getYylrl()
    {
        return this.yylrl;
    }

    public void setYylrl( BigDecimal yylrl )
    {
        this.yylrl = yylrl;
    }

    @Column(name = "zzcbcl", precision = 18, scale = 4)
    public BigDecimal getZzcbcl()
    {
        return this.zzcbcl;
    }

    public void setZzcbcl( BigDecimal zzcbcl )
    {
        this.zzcbcl = zzcbcl;
    }

    @Column(name = "xssrzzl", precision = 18, scale = 4)
    public BigDecimal getXssrzzl()
    {
        return this.xssrzzl;
    }

    public void setXssrzzl( BigDecimal xssrzzl )
    {
        this.xssrzzl = xssrzzl;
    }

    @Column(name = "jlrzzl", precision = 18, scale = 4)
    public BigDecimal getJlrzzl()
    {
        return this.jlrzzl;
    }

    public void setJlrzzl( BigDecimal jlrzzl )
    {
        this.jlrzzl = jlrzzl;
    }

    @Column(name = "jzczzl", precision = 18, scale = 4)
    public BigDecimal getJzczzl()
    {
        return this.jzczzl;
    }

    public void setJzczzl( BigDecimal jzczzl )
    {
        this.jzczzl = jzczzl;
    }

    @Column(name = "zcfzl", precision = 18, scale = 4)
    public BigDecimal getZcfzl()
    {
        return this.zcfzl;
    }

    public void setZcfzl( BigDecimal zcfzl )
    {
        this.zcfzl = zcfzl;
    }

    @Column(name = "zbgdhbl", precision = 18, scale = 4)
    public BigDecimal getZbgdhbl()
    {
        return this.zbgdhbl;
    }

    public void setZbgdhbl( BigDecimal zbgdhbl )
    {
        this.zbgdhbl = zbgdhbl;
    }

    @Column(name = "ldbl", precision = 18)
    public BigDecimal getLdbl()
    {
        return this.ldbl;
    }

    public void setLdbl( BigDecimal ldbl )
    {
        this.ldbl = ldbl;
    }

    @Column(name = "sdbl", precision = 18)
    public BigDecimal getSdbl()
    {
        return this.sdbl;
    }

    public void setSdbl( BigDecimal sdbl )
    {
        this.sdbl = sdbl;
    }

    @Column(name = "lxbzbs", precision = 18)
    public BigDecimal getLxbzbs()
    {
        return this.lxbzbs;
    }

    public void setLxbzbs( BigDecimal lxbzbs )
    {
        this.lxbzbs = lxbzbs;
    }

    @Column(name = "xjjllyldfzbl", precision = 18, scale = 4)
    public BigDecimal getXjjllyldfzbl()
    {
        return this.xjjllyldfzbl;
    }

    public void setXjjllyldfzbl( BigDecimal xjjllyldfzbl )
    {
        this.xjjllyldfzbl = xjjllyldfzbl;
    }

    @Column(name = "dbbl", precision = 18, scale = 4)
    public BigDecimal getDbbl()
    {
        return this.dbbl;
    }

    public void setDbbl( BigDecimal dbbl )
    {
        this.dbbl = dbbl;
    }

    @Column(name = "zysrxjl", precision = 18, scale = 4)
    public BigDecimal getZysrxjl()
    {
        return this.zysrxjl;
    }

    public void setZysrxjl( BigDecimal zysrxjl )
    {
        this.zysrxjl = zysrxjl;
    }

    @Column(name = "chzzq", precision = 18)
    public BigDecimal getChzzq()
    {
        return this.chzzq;
    }

    public void setChzzq( BigDecimal chzzq )
    {
        this.chzzq = chzzq;
    }

    @Column(name = "yszkzzl", precision = 18)
    public BigDecimal getYszkzzl()
    {
        return this.yszkzzl;
    }

    public void setYszkzzl( BigDecimal yszkzzl )
    {
        this.yszkzzl = yszkzzl;
    }

    @Column(name = "zzczzl", precision = 18)
    public BigDecimal getZzczzl()
    {
        return this.zzczzl;
    }

    public void setZzczzl( BigDecimal zzczzl )
    {
        this.zzczzl = zzczzl;
    }

    @Column(name = "spxsl", precision = 18, scale = 4)
    public BigDecimal getSpxsl()
    {
        return this.spxsl;
    }

    public void setSpxsl( BigDecimal spxsl )
    {
        this.spxsl = spxsl;
    }

    @Column(name = "yyzs", precision = 18, scale = 4)
    public BigDecimal getYyzs()
    {
        return this.yyzs;
    }

    public void setYyzs( BigDecimal yyzs )
    {
        this.yyzs = yyzs;
    }

}
